package priv.yiyuan.example.design.control;

import priv.yiyuan.example.design.device.Device;

/**
 * 远程控制类
 * <p>
 * 桥接模式(抽象部分)
 *
 * @author YiYuan
 * @data 2025/8/19
 * @apoNote
 */
public abstract class RemoteControl {

    protected Device device;

    public RemoteControl(Device device) {
        this.device = device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public abstract void powerOn();

    public abstract void powerOff();

    public abstract void adjustLevel(int level);
}
